﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WeChatParking.Core.Payment.Tonglian
{
    public class PayNotify
    {
        public string merchantNo { get; set; }
        public string orderNo { get; set; }
        public string amount { get; set; }
        public string payMethod { get; set; }
        public string status { get; set; }
        public string buyerId { get; set; }
        public string bankType { get; set; }
        public string successTime { get; set; }
        public string channelNo { get; set; }
        public string settleDate { get; set; }
        public string tradeNo { get; set; }
        public string randomStr { get; set; }
        public string signType { get; set; }
        public string sign { get; set; }

        public IDictionary<string, string> GetParameters()
        {
            Dictionary<string, string> parameters = new Dictionary<string, string>();
            parameters.Add("merchantNo", this.merchantNo);
            parameters.Add("orderNo", this.orderNo);
            parameters.Add("amount", this.amount);
            parameters.Add("payMethod", this.payMethod);
            parameters.Add("status", this.status);
            parameters.Add("buyerId", this.buyerId);
            parameters.Add("bankType", this.bankType);
            parameters.Add("successTime", this.successTime);
            parameters.Add("channelNo", this.channelNo);
            parameters.Add("settleDate", this.settleDate);
            parameters.Add("tradeNo", this.tradeNo);
            parameters.Add("randomStr", this.randomStr);
            parameters.Add("signType", this.signType);
            return parameters;
        }
    }
}
